# Get user by userId

Retrieves a user profile by their unique user ID. Accessible to both authenticated and guest users. Use 'full' parameter to include extended profile data (summary, stats, header, fields). Authenticated users can request relationship statuses (following, blocked, muted) between themselves and the target user. Returns 302 redirect if the user has been renamed.

Endpoint: GET /api/v1/users/{userId}
Version: 1.0
Security: 

## Path parameters:

  - `userId` (string, required)
    The unique user ID
    Example: "us_01hxcvk1hjexere4pvtrj0ymqq"

## Query parameters:

  - `full` (boolean,null)
    If true return also summary, stats, header and fields. Default false.

  - `includeBlockedByStatus` (boolean,null)
    Include blocked_by status (target blocked viewer)

  - `includeBlockedStatus` (boolean,null)
    Include blocked status (viewer blocked target)

  - `includeFollowedStatus` (boolean,null)
    Include followed status

  - `includeFollowingStatus` (boolean,null)
    Include following status

  - `includeMutedStatus` (boolean,null)
    Include muted status

  - `relations` (boolean,null)
    Include all relationship statuses (following, followed, blocked, blocked_by, muted)

  - `htmlContent` (any)
    Returns text as html if true or original text if false. Applicable only to local posts and users. Default is true.

## Response 404 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation


